package com.xyht.sca_s.student_manage_system.modules.questionnaire.entity.req;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 投票问卷设置
 * </p>
 *
 * @author XYHT
 * @since 2023-02-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_questionnaire_setting")
@ApiModel(value="SmsQuestionnaireSetting对象", description="投票问卷设置")
public class SmsQuestionnaireSettingReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问卷有效开始时间")
    private Date limitBeginTime;

    @ApiModelProperty(value = "问卷有效结束时间")
    private Date limitEndTime;

    @ApiModelProperty(value = "问卷填写限制人群")
    private List<String> limitOrgList;

    private String limitOrg;

    @ApiModelProperty(value = "是否限制有效时间   0：否   1：是")
    private Integer isLimitTime;

    @ApiModelProperty(value = "是否限制组织 0：否  1：是")
    private Integer isLimitOrg;

    @ApiModelProperty(value = "问卷别名（仅发布人员列表限制）默认为问卷名")
    private String alias;


}
